package com.sj.stone.domain.oracle;

import com.sj.stone.domain.oracle.entry.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface AdminRepository extends JpaRepository<Admin,String> {

   Admin findAllByUsername(String username);

   Admin findByMobilephone(String mobile);

}
